/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.webaccess.retailws.Delegate;

import com.webaccess.retailws.Bean.NewsletterBean;
import com.webaccess.retailws.DAO.MenuDAO;
import com.webaccess.retailws.Util.menuUtil;

/**
 *
 * @author Owner
 */
public class MenuDelegate {

    MenuDAO menuDAOObj = null;
    menuUtil menuUtilObj = null;

    public MenuDelegate() {
        menuDAOObj = new MenuDAO();
        menuUtilObj =new menuUtil();
    }

    public boolean subscribeNL(NewsletterBean newslBean) {
        return menuDAOObj.subscribeNL(newslBean);
    }

    public Long checkEmail(String newsletterEmail) {
        return menuDAOObj.checkEmail(newsletterEmail);
    }
}
